package spider

import (
	"git.oschina.net/gladmo/manga/model"
)

type MangaList struct {
	Name string
	Url  string
}

func HasChapter(code int64, no float64) bool {

	if model.FindChapter(code, no) == 0 {
		return false
	}
	return true
}

func HasManga(code string) bool {

	if model.FindManga(code) == 0 {
		return false
	}
	return true
}
